package com.sihan.framework.etm.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class RoleVO implements Serializable {

  private static final long serialVersionUID = -795915374324016433L;

  @ApiModelProperty(value = "角色Id")
  private String id;

  @ApiModelProperty(value = "是否可用：0 不可用；1可用")
  private Short available;

  @ApiModelProperty(value = "角色名称")
  private String name;

  @ApiModelProperty(value = "角色标识")
  private String identify;

  @ApiModelProperty(value = "创建时间")
  private Date createTime;

  @ApiModelProperty(value = "更新人")
  protected String lastUpdateUser;

  @ApiModelProperty(value = "更新时间")
  protected Date lastUpdateTime;
  
  @ApiModelProperty(value = "备注")
  private String remarks;

  private List<RolePermissionVO> permissions;
  
  @ApiModelProperty(value = "权限IDS")
  private Set<String> permissionIds;

}
